/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package im.messages;

import im.subscriptionpackage.Subscription;
import java.io.Serializable;

/**
 *
 * @author bluejack
 */
public class SubscriptionMessage implements Serializable{
    
    protected String subscriber = null;
    protected Subscription subscription = null;
    
    public SubscriptionMessage(String subscriber, Subscription subscription) {
        this.subscriber = subscriber;
        this.subscription = subscription;
    }

    public SubscriptionMessage(Subscription subscription) {
        this.subscription = subscription;
    }

    public String getSubscriber() {
        return subscriber;
    }

    public Subscription getSubscription() {
        return subscription;
    }
}
